package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_worldcup_skill", autoSave = true)
public class LogWorldCupSkill {

    @FieldTypeAnnotation
    private long userId;
    @FieldTypeAnnotation
    private int activityId;
    @FieldTypeAnnotation(desc = "解数id")
    private int skillId;
    @FieldTypeAnnotation(desc = "升级前等级")
    private int oLevel;
    @FieldTypeAnnotation(desc = "升级后等级")
    private int nLevel;
    @FieldTypeAnnotation(desc = "增加经验")
    private int expAdd;
    @FieldTypeAnnotation
    private Date time;

    public LogWorldCupSkill(long userId, int activityId, int skillId, int oLevel, int nLevel,int expAdd) {
        this.userId = userId;
        this.activityId = activityId;
        this.skillId = skillId;
        this.oLevel = oLevel;
        this.nLevel = nLevel;
        this.expAdd = expAdd;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public int getSkillId() {
        return skillId;
    }

    public int getoLevel() {
        return oLevel;
    }

    public int getExpAdd() {
        return expAdd;
    }

    public int getnLevel() {
        return nLevel;
    }

    public Date getTime() {
        return time;
    }
}
